package com.guan.ruiji.common;

/**
 * @author guanzhenjie
 */
public class BaseContext {

    private static ThreadLocal<Long> threadLocal = new ThreadLocal<>();

    public static void setEmployeeId(Long id){
        threadLocal.set(id);
    }

    public static Long getEmployeeId(){
        return threadLocal.get();
    }
}
